package com.atguigu.guli.service.edu.feign;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.edu.feign.fallback.OssFileServiceFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "service-oss",fallback = OssFileServiceFallBack.class)
public interface OssFileFeign {
    @GetMapping("/admin/oss/test")
    public R test();
    @GetMapping("/admin/oss/delete")
    public R delete(@RequestParam String url);
}
